package com.sjx.lib_base

import android.app.Application
import com.baidu.location.LocationClient
import com.sjx.lib_base.manager.ARouterManager

/**
 * FileName: BaseApp
 * Founder: sjx
 * Profile: 基类App
 */
class BaseApp : Application() {

    override fun onCreate() {
        super.onCreate()
        initApp()
    }

    //初始化App
    private fun initApp() {
        //使用定位需要同意隐私合规政策
        LocationClient.setAgreePrivacy(true);
        ARouterManager.initManager(this)
    }
}